/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ru.ibrae.excelparser1.excelstorageentities.entities;

import ru.ibrae.excelparser1.excelstorageentities.ImportEntity;

import java.util.Date;

/**
 *
 * @author murr
 */
public class PersonInfo extends ImportEntity {
    //~ Instance fields --------------------------------------------------------

    private String address;
    private String oldFirstName;
    private String oldSecondName;
    private String oldThirdName;
    private Date birthDate;
    private String firstName;
    private String secondName;
    private String thirdName;
    private DocumentInfo documentInfo;
    private CertificateInfo currentCertificate;
    private CertificateInfo previousCertificate;

    //~ Constructors -----------------------------------------------------------
    public PersonInfo(String address, Date birthDate, String firstName,
            String secondName, String thirdName,
            DocumentInfo doucumentInfo,
            CertificateInfo currentCertificate,
            CertificateInfo previousCertificate) {
        this.address = address;
        this.birthDate = birthDate;
        this.firstName = firstName;
        this.secondName = secondName;
        this.thirdName = thirdName;
        this.documentInfo = doucumentInfo;
        this.currentCertificate = currentCertificate;
        this.previousCertificate = previousCertificate;
    }

    public PersonInfo(String address, String oldFirstName,
            String oldSecondName, String oldThirdName,
            Date birthDate, String firstName, String secondName,
            String thirdName, DocumentInfo doucumentInfo,
            CertificateInfo currentCertificate,
            CertificateInfo previousCertificate) {
        this.address = address;
        this.oldFirstName = oldFirstName;
        this.oldSecondName = oldSecondName;
        this.oldThirdName = oldThirdName;
        this.birthDate = birthDate;
        this.firstName = firstName;
        this.secondName = secondName;
        this.thirdName = thirdName;
        this.documentInfo = doucumentInfo;
        this.currentCertificate = currentCertificate;
        this.previousCertificate = previousCertificate;
    }

    public PersonInfo() {
    }

    //~ Methods ----------------------------------------------------------------
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public CertificateInfo getCurrentCertificate() {
        return currentCertificate;
    }

    public void setCurrentCertificate(CertificateInfo currentCertificate) {
        this.currentCertificate = currentCertificate;
    }

    public DocumentInfo getDocumentInfo() {
        return documentInfo;
    }

    public void setDocumentInfo(DocumentInfo doucumentInfo) {
        this.documentInfo = doucumentInfo;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getOldFirstName() {
        return oldFirstName;
    }

    public void setOldFirstName(String oldFirstName) {
        this.oldFirstName = oldFirstName;
    }

    public String getOldSecondName() {
        return oldSecondName;
    }

    public void setOldSecondName(String oldSecondName) {
        this.oldSecondName = oldSecondName;
    }

    public String getOldThirdName() {
        return oldThirdName;
    }

    public void setOldThirdName(String oldThirdName) {
        this.oldThirdName = oldThirdName;
    }

    public CertificateInfo getPreviousCertificate() {
        return previousCertificate;
    }

    public void setPreviousCertificate(CertificateInfo previousCertificate) {
        this.previousCertificate = previousCertificate;
    }

    public String getSecondName() {
        return secondName;
    }

    public void setSecondName(String secondName) {
        this.secondName = secondName;
    }

    public String getThirdName() {
        return thirdName;
    }

    public void setThirdName(String thirdName) {
        this.thirdName = thirdName;
    }
}
